package br.com.sistema.smallAgro;

import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.link.Link;

import br.com.sistema.smallAgro.cliente.ConsultarClientePage;
import br.com.sistema.smallAgro.usuario.ConsultarUsuarioPage;

public class Principal extends WebPage {
	private static final long serialVersionUID = 7949025295813628022L;

	public Principal() {
		add(new Link<Void>("manterUsuario") {
			private static final long serialVersionUID = -3464937377824342833L;

			@Override
			public void onClick() {
				setResponsePage(new ConsultarUsuarioPage());
			}
		});
		add(new Link<Void>("manterCliente") {
			private static final long serialVersionUID = -3464937377824342833L;

			@Override
			public void onClick() {
				setResponsePage(new ConsultarClientePage());
			}
		});

	}
}
